import { createStore } from 'vuex'

let store = createStore({
    state: {
        // 选项卡是否显示属性
        selectCarsFlag: true,
    },
    getters: {

    },
    mutations: {
        // 跟新选项卡是否显示，传值true显示，传值false隐藏
        setSelectCarsFlag(state, bool) {
            state.selectCarsFlag = bool
        }
    },
    actions: {

    },
    modules: {

    }
})

export default store